package com.becca.cake.model.users;

import java.io.Serializable;
import java.util.Date;

/**
 * 我分享的优惠券实体
 * @copyright  尊星(上海)信息科技有限公司
 * @author hejinguo
 * @date 2016年4月10日 上午4:15:08
 */
public class UserPartookCouponModel implements Serializable {

    /**  */
    private static final long serialVersionUID = 1976596137356741746L;

    private Integer           id;
    /**订单ID*/
    private Integer           orderId;
    /**优惠券ID*/
    private Integer           couponId;
    /**用户ID*/
    private String            userId;
    /**分享失效时间*/
    private Date              expireDate;
    /**分享失效时间*/
    private Byte              partookSource;
    /**创建时间*/
    private Date              createdDate;
    /**创建人*/
    private String            createdName;
    /**修改时间*/
    private Date              updatedDate;
    /**修改人*/
    private String            updatedName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getExpireDate() {
        return expireDate;
    }

    public void setExpireDate(Date expireDate) {
        this.expireDate = expireDate;
    }

    public Byte getPartookSource() {
        return partookSource;
    }

    public void setPartookSource(Byte partookSource) {
        this.partookSource = partookSource;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public String getCreatedName() {
        return createdName;
    }

    public void setCreatedName(String createdName) {
        this.createdName = createdName;
    }

    public Date getUpdatedDate() {
        return updatedDate;
    }

    public void setUpdatedDate(Date updatedDate) {
        this.updatedDate = updatedDate;
    }

    public String getUpdatedName() {
        return updatedName;
    }

    public void setUpdatedName(String updatedName) {
        this.updatedName = updatedName;
    }

    @Override
    public String toString() {
        return "UserPartookCouponDO [id=" + id + ", orderId=" + orderId + ", couponId=" + couponId
               + ", userId=" + userId + ", expireDate=" + expireDate + ", partookSource="
               + partookSource + ", createdDate=" + createdDate + ", createdName=" + createdName
               + ", updatedDate=" + updatedDate + ", updatedName=" + updatedName + "]";
    }

}
